home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / net / bind-contrib.tar.gz / bind-contrib.tar / contrib / tic / Makefile < prev    next >
Makefile  |  1996-10-25  |  767b  |  23 lines

  1. # Copyright (c) 1992 by Texas Internet Consulting
  2. # This code may be freely copied and used so long as this
  3. # copyright notice is attached.  This code may not be sold
  4. # without the express written permission of Texas Internet Consulting.
  5. # Texas Internet Consulting makes no warranty as to the correctness
  6. # nor the applicability of this code for any purpose.
  7. PROGS= poke_ns
  8. SCRIPTS= gendns genstatic make_rev readinfo updatehosts
  9. TARGET=/usr/local/etc
  10.  
  11. poke_ns: poke_ns.c
  12.     ${CC} -O  poke_ns.c -o poke_ns
  13.  
  14. install: ${SCRIPTS} poke_ns
  15.     for f in ${SCRIPTS}; do \
  16.     install -m 775 $$f ${TARGET}/`basename $$f .sh`; done
  17.     for f in ${PROGS}; do \
  18.     install -s -m 775 $$f ${TARGET}; done
  19.     chown root ${TARGET}/poke_ns
  20.     chmod 4710 ${TARGET}/poke_ns
  21. clean:
  22.     rm -f ${PROGS} *.o
  23.